<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">系统管理</h1>
</div>
<toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
<div class="wrapper-md">
  <div class="panel panel-default">
    <div class="panel-heading">
      菜单管理
    </div>
    <div class="panel-body b-b b-light">
      <div class="form-group pull-in clearfix">
        <div class="col-sm-1">
          <button class="btn btn-info btn-addon" ng-click="addMenu()">添加</button>
        </div>
        <!-- <div class="col-sm-1">
          <button class="btn btn-info btn-addon" ng-click="delcache()">清除缓存</button>
        </div>
      </div> -->
    </div>
    <div class="table-responsive">
      <table id="tab" class="table table-striped m-b-none">
        <thead>
          <tr>
            <th style="">菜单ID</th>
            <th style="">菜单名</th>
            <th style="">菜单URL</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-if="QueryMenuList=='' || QueryMenuList==null">
            <td colspan="9">当前无任何数据</td>
          </tr>
          <tr ng-if="QueryMenuList!=''" ng-repeat="obj in QueryMenuList">
            <td ng-bind="obj.Id"></td>
            <td ng-bind="obj.Name"></td>
            <td ng-bind="obj.Url"></td>
            <td>
              <button class="btn m-b-xs btn-sm btn-info" style="margin-right:10px;" ng-click="editMenu(obj)">修改</button>
              <button class="btn m-b-xs btn-sm btn-info" style="margin-right:10px;" ng-click="delMenu(obj.Id)">删除</button>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>
